package de.koller.nature;

import de.koller.oceanFramework.gl.OceanGame;
import javax.swing.UIManager;

public class NatureStart {
	
	public static void main( String[] args ) {
		try {
//			UIManager.setLookAndFeel( "javax.swing.plaf.nimbus.NimbusLookAndFeel" );
//			UIManager.setLookAndFeel( "com.sun.java.swing.plaf.motif.MotifLookAndFeel" );
//			UIManager.setLookAndFeel( UIManager.getCrossPlatformLookAndFeelClassName() );
			UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName() );
		} catch( Exception e ) {
			System.out.println("Error setting native LAF: " + e);
		}
		
		OceanGame game = OceanGame.create( "Nature", NatureRoot.VIEW_W, NatureRoot.VIEW_H, 32, 60, false, false );
		NatureRoot nature = new NatureRoot();
		game.getRoot().addChild( nature );
		game.start();
	}
	
}
